package com.jurenzhao.partssystem.system.system_user.dao;

import com.jurenzhao.partssystem.system.system_user.entity.System_Users;
import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;

@MapperScan
public interface System_UsersMapper {
    int deleteByPrimaryKey(String userId);

    int insert(System_Users record);

    int insertSelective(System_Users record);

    System_Users selectByPrimaryKey(String userId);

    int updateByPrimaryKeySelective(System_Users record);

    int updateByPrimaryKey(System_Users record);

    System_Users login(@Param("user_no") String user_no, @Param("user_pass") String user_pass);

    System_Users findByNo(String user_no);
}